﻿<div class="tab-pane" id="xrk_kill">
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h1 class="page-header">奖惩栏</h1><button type="button" class="btn btn-success btn-xs" data-toggle="modal" data-target="#xrk_kill_c"><span class="glyphicon glyphicon-plus-sign"></span> 添加内容</button>
             <div class="modal fade" id="xrk_kill_c" tabindex="-1" role="dialog" aria-labelledby="xrk_kill_c" aria-hidden="true">
                <div class="modal-dialog">
                 <div class="modal-content">
                  <div class="modal-header">
                   <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                   <h4 class="modal-title"><span class="glyphicon glyphicon-plus-sign"></span> 添加罚款</h4>
                  </div>
                  <div class="modal-body">
                   <form class="form-horizontal" role="form">
                    <div class="form-group">
                     <label for="inputPassword3" class="col-sm-2 control-label"></label>
                     <div class="col-sm-10">
                      <div class="input-group">
                       <div class="input-group-addon">
                        <span class="glyphicon glyphicon-time"></span>
                       </div>
                       <input type="Texi" class="form-control" id="xrk_kill-time" placeholder="时间"  value=" <?php echo date('Y-m-d H:i',time()); ?>">
                      </div>
                     </div>
                    </div>
                    <div class="form-group">
                     <label for="inputPassword3" class="col-sm-2 control-label"></label>
                     <div class="col-sm-10">
                      <div class="input-group">
                       <div class="input-group-addon">
                        <span class="glyphicon glyphicon-shopping-cart"></span>
                       </div>
                       <input type="Texi" class="form-control" id="xrk_kill-info" placeholder="详细描述">
                      </div>
                     </div>
                    </div>
                    <div class="form-group">
                     <label for="inputPassword3" class="col-sm-2 control-label"></label>
                     <div class="col-sm-10">
                      <div class="input-group">
                       <div class="input-group-addon">
                        <span class="glyphicon glyphicon-usd"></span>
                       </div>
                       <input type="Texi" class="form-control" id="xrk_kill-price" placeholder="金额">
                      </div>
                     </div>
                    </div>
                    <div class="form-group">
                     <label for="inputPassword3" class="col-sm-2 control-label"></label>
                     <div class="col-sm-10">
                      <div class="input-group">
                       <div class="input-group-addon">
                        <span class="glyphicon glyphicon-th-list"></span>
                       </div>
                       <select class="form-control" id="xrk_kill-area" placeholder="区域">
                        <option>超小店</option>
                        <option>白露分店</option>
                        <option>其他</option>
                      </select>
                      </div>
                     </div>
                    </div>
                    <div class="form-group">
                     <label for="inputPassword3" class="col-sm-2 control-label"></label>
                     <div class="col-sm-10">
                      <div class="input-group">
                       <div class="input-group-addon">
                        <span class="glyphicon glyphicon-user"></span>
                       </div>
                       <input type="Texi" class="form-control" id="xrk_kill-name" placeholder="罚款人">
                      </div>
                     </div>
                    </div>
                    <div class="form-group">
                     <label for="inputPassword3" class="col-sm-2 control-label"></label>
                     <div class="col-sm-10">
                      <div class="input-group">
                       <div class="input-group-addon">
                        <span class="glyphicon glyphicon-user"></span>
                       </div>
                       <input type="Texi" class="form-control" id="xrk_kill-fname" placeholder="发布者" disabled="disabled" value="<?php echo $_SESSION['username']; ?>">
                      </div>
                     </div>
                    </div>
                   </form>
                  </div>
                  <div class="modal-footer">
                   <button type="button" class="btn btn-default" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> 关闭</button>
                   <button type="button" class="btn btn-primary" onclick="xrk_kill_add();" ><span class="glyphicon glyphicon-ok"></span> 确定</button>
                  </div>
                 </div>
                </div>
               </div>

            <div class="row placeholders">
                
                  
            </div>
            <div class="table-responsive">
                <table class="table table-hover">
                    <thead>
                        <tr class="alert alert-info">
                            <th>时间</th>
                            <th>详细描述</th>
                            <th>罚款(元)</th>
                            <th>区域</th>
                            <th>罚款人</th>
                            <th>发布者</th>
                            <th>执行</th>
                        </tr>
                    </thead>
                    <tbody id="xrk_kill_info">
                    <?php xrk_kill_query(); ?>
                    </tbody>
                 </table>
            </div>
    </div>
</div>
